package com.cos.edoc.services;

import com.cos.edoc.entity.EdocEntry;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/3/14 14:35
 * @description:
 */
public interface EdocEntryServices {
    List<EdocEntry> getAllBook();

    List<EdocEntry> getBooksBycategoryId(Integer categoryId);

    boolean del(Integer id);

    boolean add(EdocEntry entry);

    EdocEntry getBookById(Integer id);

    boolean update(EdocEntry entry);
}
